﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;

namespace InSiteExtractor.Configuration
{
    class MapSettingElement : ConfigurationElement
    {
        public MapSettingElement()
        {
        }

        [ConfigurationProperty("name", IsRequired = true, IsKey = true)]
        public string Name
        {
            get { return (string)this["name"]; }
            set { this["name"] = value; }
        }

        [ConfigurationProperty("newName", IsRequired = true)]
        public string NewName
        {
            get { return (string)this["newName"]; }
            set { this["newName"] = value; }
        }

        [ConfigurationProperty("filter", IsRequired = false)]
        public string Filter
        {
            get { return (string)this["filter"]; }
            set { this["filter"] = value; }
        }
    }
}
